Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to skip a step
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Manoj,

I hope its a very lengthy way.

Just try out this way :


Code:
if (DataTable("p_Value", dtGlobalSheet)<>"Economy") then
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebRadioGroup("servClass").Select DataTable("p_Value", dtGlobalSheet)
  End if

Here if datatable value is not equal to "Economy" then it will take the value from datatable & select the radiobutton.
If datatable value is equal to "Economy" , it will not enter the " if " loop at all & continues with the next executable statements....so like this we have skipped the second step.

I hope you understood the solution...
Reply


Messages In This Thread
How to skip a step - by sudhirzpatil - 01-29-2009, 04:29 PM
RE: How to skip a step - by manojith1984 - 01-29-2009, 05:33 PM
RE: How to skip a step - by sreekanth chilam - 01-29-2009, 06:03 PM
RE: How to skip a step - by sudhirzpatil - 01-30-2009, 04:20 PM
RE: How to skip a step - by manojith1984 - 01-30-2009, 04:34 PM
RE: How to skip a step - by sudhirzpatil - 01-30-2009, 05:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,556 09-16-2018, 03:48 PM
Last Post: vijilesh
  QTP does not record the first step of open filight reservation application. Blossoms 9 17,860 07-20-2015, 05:50 PM
Last Post: AJAJ
  step by step report shipu 0 2,191 08-06-2014, 02:21 AM
Last Post: shipu
  which is the final step of automation in QTP? Ramadas 6 3,993 10-29-2013, 04:31 PM
Last Post: Sathiya
  How to skip a For count? mv8167 2 2,530 10-23-2013, 07:06 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 1 Guest(s)