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
Explain step generator in qtp?
If I give some thousand tests to execute in two days what do you do?
What is different command used in command Prompt while using QTP?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
What is the difference between the design-time and run-time data tables?
what is the frame work in J-meter?
hou can we use vb script in qtp could u tell me breafly
What is the difference between Keyword Driven test and Data Driven test?
How to find the length of the string in qtp?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How you can delete excel file in qtp?
how to explain a claims and insurance project?