I want to open a GOOGLE page without recording a test in
QTP.Can any one answer me?
Answers were Sorted based on User's Feedback
Answer / rico
Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "iexplore google.com"
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / siva
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate "http://www.yahoo.com"
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / saurabh
Use the below code
systemutil.Run "C:\Program Files\Internet
Explorer\IEXPLORE.EXE", "www.google.com"
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / bhavanim26
Thank you surabh.
And i do not want to use system.Util.run command as well
how do i do this?
| Is This Answer Correct ? | 0 Yes | 0 No |
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
What are the disadvantages of Recovery Scenarios in QTP ?
how we can know qtp has used smart identification machanism during the execution.
Can U Explain about QTP tool from older version to latest version also its differences?
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?
How to test the login page in different ways in automation testing and i need code?
What is the latest version of qtp?
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value
What is test object?
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..
How do u fetch data from a database ?
how can i pass a "cript"as a parameter in to a function