Move to next iteration

Ask general questions here.
TheBestKBever
Posts: 2
Joined: Thu Sep 29, 2016 10:48 am

Move to next iteration

Post by TheBestKBever » Thu Sep 29, 2016 11:03 am

Hi iam currently using an excel sheet to get my data, deliberately added duplicate row for testing purposes

can anybody help with moving to the next iteration or line of info

current code

Code: Select all


public void Mouse_Click_ButtonOK()
{    
    Button ok = @"/form[@title='Please Enter\Check fields']/button[@text='OK']";
         
    if(ok.Visible)
    {
       ok.Click();
       
      //Do some stuff

      //move to next itteration here         	
   }

}

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Move to next iteration

Post by krstcs » Thu Sep 29, 2016 3:34 pm

Welcome to the forums!

Usually one should not be manipulating data connectors in code unless there is a compelling reason. Some of us do it sometimes (or all the time in my case), but for people new to Ranorex it is usually not a good idea until you know more about how Ranorex works.

From what you have said though, what you are attempting to do can be done by Ranorex already if you set the test case up correctly, but I may be misunderstanding your intent.

So, can you explain in more detail exactly what your goal is and what you need to be able to accomplish?



In addition, when posting issues in the forums, please always include the following:

FULL Ranorex version (currently only 6.0.2 and 6.1.0 are supported)
Windows version
Mobile type and version, if applicable
Technology of system-under-test (SUT) (i.e., HTML, Java, Flash/Flex, WPF, etc.)
RanoreXPath of element in question, if applicable
Ranorex Snapshot of element in question, if applicable

These all help us to know more about the issues you might be facing.
Shortcuts usually aren't...