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 is the synchronization point in qtp?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
Is it possible to merge two object repository files in qtp?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
How to check which add-ins are associated with a test in qtp?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
How to start recording using quicktest professional (qtp)?
What the differences are and best practical application of Object Repository?
Hi All, I need code for how to execute qtp scripts from excell sheet
How to use parameterization in qtp?
What is checkpoints for quicktest professional?
What are the benefits of quick test pro(qtp)?