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"
Answers were Sorted based on User's Feedback
Answer / reddy
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
Here no "exists" just "exist"
| Is This Answer Correct ? | 5 Yes | 0 No |
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 |
What are the different recording modes?
How to find the OS name by using QTP script?
What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance...
Explain the concept of object repository and how QTP recognizes objects?
when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
0 Answers RR Donnelley, RRDonnelley,
Can anybody send me the code to get the RO property of the active screen in QTP while running?
What is the limitation to XML Checkpoints?
How to associate function library at a run time?
I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate hyperlink2?
4 Answers Cap Gemini, Polaris,
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.