cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the values read from a data source in a conditional GOTO?

Syavosh
New Contributor

How can I use the values read from a data source in a conditional GOTO?

 
3 REPLIES 3
nmrao
Community Hero

Re: How can I use the values read from a data source in a conditional GOTO?

Is "GetData" not showing up there when you right click?


Regards,
Rao.
Syavosh
New Contributor

Re: How can I use the values read from a data source in a conditional GOTO?

Sorry, no.

It looks to expect a previous step to have been executed. "Message displayed is: Missing previous request step." when I try to specify the condition. The conditional goto looks to work when a previous SOAP or JDBC step has been executed as "Condition xpath expression" can then be specified. this is not the case for what I intend to do.

 

I have a DataSource step followed by the Conditional GoTo.

I intend to check a flag/data value read from data source and GoTo different steps given the value of the Flag.

 

Thanks. 

  

nmrao
Community Hero

Re: How can I use the values read from a data source in a conditional GOTO?

I believe that it is existing behaviour. If you need to do apply condition for a data source value, probably you may need to raise an enhancement using below link:

https://community.smartbear.com/t5/ReadyAPI-Feature-Requests/idb-p/ReadyAPIFeatureRequests

SmartBear team will look into these enhancements and prioritize based on number of votes for the same.

Alternatively, you may need to write a groovy script to handle the same to proceed.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors