Pause / Continue

Ask general questions here.
pkoel@americanbus
Posts: 14
Joined: Wed Oct 17, 2018 6:12 pm

Pause / Continue

Post by pkoel@americanbus » Tue Dec 18, 2018 3:36 pm

Hello,

I have a number of test cases that test on our production system. I do not want to include the sign on credentials as we have implemented two-factor authentication. Is there a way to start the test, pause, and then present the tester with a 'Continue' button to continue the test case?

Thanks,

Peter

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Pause / Continue

Post by odklizec » Tue Dec 18, 2018 3:42 pm

Hi Peter,

Some time ago, I posted an example how to pause a test with message box. Check this post:
viewtopic.php?f=20&t=12193&p=48975
Another possibility is to run the test in Debug mode and set a breakpoint. But I think this message box solution is somewhat easier.

On the other hand, I would suggest to create a separate test automation credentials, which are supposed to be used only with test automation and which could be used with no worry about company security. If possible, you should never use "live" credentials for test automation!
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration