Interview Questions

WinRunner: How to check the tab order?

Mercury WinRunner FAQ


(Continued from previous question...)

WinRunner: How to check the tab order?

winrunner sample application
set_window ("Flight Reservation", 7);
if(E_OK==obj_type ("Date of Flight:","<kTab>")){
if(E_OK==obj_type ("Fly From:","<kTab>")){
if(E_OK==obj_type ("Fly To:","<kTab>")){
if(E_OK==obj_type ("Name:","<kTab>")){
if(E_OK==obj_type ("Date ofFlight:","<kTab>")) { report_msg("Ok");
}
}
}
}

(Continued on next question...)

Other Interview Questions