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
What are the advantages of parameterization ?
When should I use smart identification?
what testplan contents and what test strategy contents,what is the diff b/w them
How can I check if a environment variable exist or not?
Explain how Selenium is different from UFT?
What is data driver in qtp?
How many types of status are there?
How will internal and external links be validated and updated? how often?
How you debug your script?
What are the recording modes in qtp?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
Do you know how to connect database? Can you tell me the procedures?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
For which type of projects the iterative model is not suitable?
what is description object?