If a form has two OK buttons. How the WinRunner will record and distinguish while recording? How it will show it in a GUI map editor?

Showing Answers 1 - 5 of 5 Answers

balamurugan S

  • Apr 6th, 2006
 

Winrunner will record the object logical names as OK and OK_1, when you check the object physical property label property will be denoted as "OK" for first button and "OK_1" for next button

  Was this answer useful?  Yes

santi

  • Apr 6th, 2006
 

Study its GUI bu GUI map, it will make the diffrence

  Was this answer useful?  Yes

If a form has two OK buttons,Winrunner will record the object logical names as OK and OK_1, But in Physical description,Both the buttions will have the same class and label properties.So, we need to assign the third property to both the buttions "MSWID(Microsoft windows Id) which will assigned by operating system.when we run the script,the WinRunner will recognize these objects by MSWID as the id is different for both the OK buttons.

  Was this answer useful?  Yes

pavan

  • Apr 19th, 2006
 

Hi

This is pavan.

If there 2 ok buttons one thing u do , in physical description to add index praperty in both .

  like         index : 1             index : 2

  Was this answer useful?  Yes

shiva

  • Jun 3rd, 2006
 

       

         If the application build has two "ok" buttons which responds to same physical description,then we can select the property of MSW-ID into physical description to distinguish that similar "ok" buttons.

        This MSW-ID is assigining from operating systems to our current object in that application build.

     SHIVA(Kittu).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions