Currently trialling Ranorex for my company but not having a great experience so far.
I have this really confusing problem. I'm simply trying to open a page, enter the username, password and click the submit button. Simple enough right?
Preceding these steps, I want to close the browser first... So close it, re-open it, enter details, submit the form.
You can see my recording in the attached screenshot that I've tried two different ways of closing the browser, using the built-in CloseWindow function (I've also tried using the kill process function - not pictured) and I've tried calling running a custom batch file which kills the chrome.exe process for me.
If I leave any of these steps enabled (you can see in the screenshot, line 2 is enabled, using the built in function), the variables $ColumbusUser1 and $ColumbusPassword are blank!
It's really weird. I see the framework, find and focus both fields and then click the submit button, before closing the test and reporting it was "successful". If I disable line 2 (close browser), then they work exactly as expected.
They are inline, unbound variables and I'm running from the big run button in the picture. I've tried binding them to parameters but this makes no difference. They key seems to be that closing the browser (regardless of the how we do that) and reopening it, blanks the variables for some reason.
This is absolutely maddening!
Can someone help please?
Ask general questions here.
3 posts • Page 1 of 1
Try running your project from the test suite view, variables do not get bound when run from the module view/action table. They will use default values when you run from the module view and my guess is that your default values are blank. I hope this helps!