we have three windows with title(logical
description),India.com,Government of India.com,India
Inc.com.All three windows have similar properties and
object.A test script has to be run on all these windows.what
changes will u make in GUI or script so that the script runs
succesfully on all these three windows with the least
alteration required? Please explain clearly with steps.

Answers were Sorted based on User's Feedback



we have three windows with title(logical description),India.com,Government of India.com,India Inc...

Answer / amit

We will use regular expression in Logical name at Gui map file.

Is This Answer Correct ?    0 Yes 1 No

we have three windows with title(logical description),India.com,Government of India.com,India Inc...

Answer / sivaprasad,globale-softstsyspv

We will go for selector-INDEX

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More WinRunner Interview Questions

i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >

0 Answers  


what is the purpose of verify,update and debug modes in wr?

3 Answers   Accenture,


What information is contained in the checklist file and in which file expected results are stored?

0 Answers  


what is validation? What is verificaion? What is the diffefernce between validation and verification?

8 Answers   TCS,


what sould come under "tell about ur self"? need tempelate

3 Answers  






How to get the system date and time in winrunner?

2 Answers   Accenture,


How are objects set to appropriate class

2 Answers  


where can i get realtime projects

2 Answers   Zensar,


What does the function represents TL_EXIT and T_EXIT ?

2 Answers   PowerNet Technologies,


how can we make use of virtual object wizard to identify similar object can u explain with an example

2 Answers  


Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated

0 Answers   John Deere,


what is the advantage of INOUT parameter over OUT parameter?

2 Answers   Fidelity,


Categories