I am new to Winrunner and was going through the Flight 4A sample application. I am having trouble recording and running a test. Here's part of the test script
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">button_press ("Insert Order"
obj_wait_bitmap("Insert Done...", "Img1", 11);
set_window ("Flight Reservation", 6);
button_press ("Delete Order"
# Flight Reservations
set_window ("Flight Reservations", 1);
button_press ("Yes"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">The "Flight Resevations" window opens when I press the "Delete Order" button. Then I click the "Yes" button to confirm delete. The problem is the application doesn't recogonize the "Yes" button. Sometimes the window is also not activated. I had run the RapidTest Script Wizard, but it already shows the button.
Heres my winrunner details
its the problem with ur GUI map editor, it contains more than one windows with same names.it has the confusion to which window it has to focus. so, u go to "GuI map configuratins" select "window" from class list. add "MSW_id" as "Obligatory" property.if so u want add x,y too.
hope u can solve this problem.once close n relaunch WR to take the changes into effect.