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
How does QTP identify an object?
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
How to data driven test for Win objects in QTP ?
What is text/text area checkpoint?
What are the features of quick test pro(qtp)?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
What is Distributed testing? How does UFT support it?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Explain QTP using different development techniques ?
how to test Web application using QTP software
How to find the difference between 2 dates in qtp?
can the activities of test case design be automated?
HOw to add the recovery file at runtime to the test file .
What are the general steps involved in the data driven framework?