i created script for login in QTP,i parametirized that
using global sheet,problem i am facing is first i want to
login with first values provided in excelsheet and want to
perform some operation,second time if call same action it
should login with second values in excelsheet
Answers were Sorted based on User's Feedback
Answer / sadashiv (wipro)
hello we should change the settings for that
file-> settings->Run->run the row from 1 to 10 then we can
pass the all the parameter from the datatable.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / aswinikumar.av
I am supposed to set the value in QTP under File-->
Settings to run on all rows. In your script, take the count
of all the rows in the Excel Sheet and then put in a For
loop and run your action. This is to move the pointer in
Excel Sheet to the next row in the Datasheet to pick the
newer data for execution.
| Is This Answer Correct ? | 0 Yes | 8 No |
How to Import data from a file (file is on the desktop) to the data table
Mention characteristics of sub procedures?
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
What is parametrization ?
What are class events?
How can I write HTML text to the window in VB Script?
Mention what is the main difference between function and sub-procedure?
compare the string without using stringcomp function?
What is the event handling in vbscript?
how to find number of characters(letter a) in the sentence Rain Rain Go away
How to learn VB Script, Since iam working with QTP. So i need to learn VB script.
explain with example primitive data types of vb script.