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
How to add verification steps to tests?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
In qtp, how you can exit for loop?
What are the five challenges you faced in QTP?
assume i have few url link how will i dynamically call then using descriptive programming?
Differences between text and test area checkpoints?
What are the views available in quicktest professional?
Explain the concept of object repository and how quicktest professional recognises objects?
Explain the types of properties that quick test learns while recording?
what is the advantages and disadvantages of using functions instead of re usable actions
How do you check ticket cost and ticket number in flight application?
What is the syntax to call one action in another?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
What do you mean by checkpoints in qtp?
What is the default object synchronization timeout in qtp?