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 difference between Recording time object identification and Run time (Execution) time.
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
how will you check how many members visited the website www.infosys.com?
Which scripting language used by quicktest professional (qtp)?
Without using gui map editor we can recognize the application in winrunner ?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
whow much strong on VB and C?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
How many types of recording modes in the qtp?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
How QTP support all types of applications (platforms)?