i am new to qtp i do not know how to write script
how to write the code to login if it fails how to able
error messages
Answer Posted / nanda
HI...What Satya..we dont need add objects to repository for
descriptive programming.
come to scenario....
dialog("login").winedit("Agent Name:").set datatable.value(1)
dialog("login").winedit("Password:").setsecure
crypt.encrypt(datatable.value(2))
dialog("login").winbutton("OK").click
If dialog("Login").dialog("text:=Flight Reservations").exist
then
dialog("Login").dialog("text:=Flight
Reservations").winbutton("text:=OK").click
dialog("Login").WinButton("Cancel").click
Else
window("Flight reservation").close
end if
like this we can handle pop up messages...
If any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
What is the difference between the design-time and run-time data tables?
How the exception handling can be done using quicktest professional?
how to disable the pop ups through QTP using a script
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
What are the types of properties that quick test learns while recording?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
please post the interview questions for QA position in FACTSET
Without using gui map editor we can recognize the application in winrunner ?
What is system testing and what are the different types of tests you perform in system testing?
How to remove associated function library?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Hi All, How to Compare two strings character by character in QTP
How you can replace string in qtp?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.