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 / pravati
Browser().page().webedit().set "mailid"
Browser().page().webedit().set "password"
Browser().page().webbutton().click
if
Browser().Page().Link("Home").Click exist
then
msgbox "login pass"
else msgbox "login fail"
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of properties that quick test learns while recording?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
What are the different types of qtp test assets and their extensions?
How would you directly trigger javascript in a test?
How to export quicktest professional (qtp) results to an .xls file?
what function you write to do database testing with the help of qtp?
Can we use index on view?
when u script reveiwing in which area u more concentrates?
What is the difference between the keyword view and expert view?
How the exception handling can be done using quicktest professional?
What do you to script when objects are removed from application?