| || |
How to compare datasheet value in QTP??
1) I have imported data from an Excel sheet to QTP data Local sheet.
2) Now i am getting the value from the local data sheet to a variable and compairing.
3) The action is if the comparison is true it should called the required function.
String var = DataTable("Actionword", dtLocalSheet)
'Getting value from the local sheet which is earlier imported from a local xls
if var = "Startscreen" Then
Reporter.ReportEvent 1, "Custom Step", "The user-defined step passed."
Re: How to compare datasheet value in QTP??
What is the issue here? Use RunAction. Look in QTP help file for more details...