There is one login screen,after accepting valid username
and apassword, it will show the next screen. In the 2nd
screen u r having 2 combo boxes, U have to select any item
from these, and click OK button. After closing that, it
will show the 3rd screen. If u click CANCEL button from 2nd
screen it will show the first screen. Write QTP script for
it???
Answer / uday
Hi,
The code looks like below:
browser().page().webedit().set "username"
browser().page().webedit().set "password"
browser().page().weblist().select "SelectItem"
btnName=browser().page().webedit().getROProperty("value")
if btnName="Cancel" then
check for 2 page itself
B().P().exists
else
check for 3rd page
end if
Is This Answer Correct ? | 2 Yes | 9 No |
When a requirement is given to u to automate , What is ur basic approach ?
Associated files in QTP?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
What is the difference between Mandatory and BaseFilter Properies..Anybody please answer me..Thanks in Advance
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
How to make Non reusable actions into reusable action? is that feature available in QTP
How can i open a file in Textpad and replace a string with another using QTP
Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?
What is the regular expression for Yahoo mail Inbox?
What is the use of virtual objects?
when i add the items to the repositry, the item is loading is "winmenu", but wn i write the script the tool is not able to recognise the item, i know that we need to define the mandatory or assitive properties here, but i am confused wt i need to difine here and on wt basis i need to select the properties and define it, can any one help me out on this.