I have recorded & partly written a test for a Website, which works for a specific browser type. The user can modify a class field of the so-called EBrowserType type, which is an enum I have created. It contains all browser types that Ranorex can handle.
Now, I was asked to make a loop over the whole test, where all the browser types are called. I run into problems, as the existing test is a group of recordings, where the user clicked at some point into a text field of the opened browser of the requested browser type. This seems to be no more possible in a loop, as the code itself creates the browser & closes it after that tutuapp apk.
In the original code, there is a SETUP part that openes the browser, and a recording that follows.
Ask general questions here.
2 posts • Page 1 of 1
I often use datasources to execute a test in a loop, providing different input data each time. I can use this input data to drive the test and have it perform slightly different actions. This could be a series of values that indicate which browser to invoke, perhaps e.g. to modify your "class field of the so-called EBrowserType type" maybe.