you written some code in qtp for opening google.com browser
and entered some text inthe search text box and clicked
search button. this is ur script..
before running this script i have already opened two
google.com browsers.
now am running the script what will happen?
script will run or what??
Thanks...
Nani
Answer Posted / rajendra prasad reddy
Yes Nani even if u opend google the browser,if run another
script,script will open another web page and performs
wat ever u wrote in that script.
For example i am providing a script for opening a
google.co.in web page and seraching for 'search' on goolge.
Code:
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://www.google.co.in"
IE.Visible = True
Wscript.Sleep 8000
IE.Document.All.Item("q").Value = "serach"
IE.Document.All.Item("f").submit()
Copy above code in notepad abd save it serach.vbs on desk
top.
then click on file after saving it desk top.
this scripts runs and opens goog.co.in web page.
if u click once again it will open again a web page.
If u have any doubt please mail me
byee
Rajendra Prasad Reddy
rajendra_penumalli@yahoo.com
Test engineer
Hyderabad
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Who uses qtp tool?
explain keyword driven framework with banking domain?
How does QTP identify an object?
what is stepin & stepout?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
What VBScript operators, functions, and statements do you use in QuickTest Professional?
What is Cross browser testing? Does UFT support it?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
What is object spy in quicktest professional?
what is the frame work in J-meter?
Sql questions to find second max salary and how to use joins
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
What is the file extension of the code file and object repository file in QTP?