I am testing a website TheLancet in qtp 9.2 and running a
script but its not working.Tell me if m doing anything wrong
in the script.
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"
Answer Posted / siva
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"
Here Script having syntax error i.e there is no Endif statement.I am guessing this error.plz tell me is there any other.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what are the challenges you have faced while testing web based application using the automation tools ?
write a script to verify the image path(src property) of the images which are in web pages.
How to handle Java tree in QTP?
What r the different filters in defect in quality center
Give the syntax to load function at run time.
How to run a test using quicktest professional (qtp)?
Do you know how to connect database? Can you tell me the procedures?
What are the data types in qtp?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
How to test login module with different username and password by using data driven testing in QTP?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
QTP script is not working on other's machine..
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri