Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

RIATest waits for a few seconds for the agent to connect. Can I increase the wait time?

0
Posted

RIATest waits for a few seconds for the agent to connect. Can I increase the wait time?

0

RIATest by default waits for 60 seconds for the agent to connect after starting the script execution. If 60 seconds are not enough you can disable the “Wait for Agent before running” project option and perform waiting actions from within your first running script by adding the following lines at the top of the script: setWaitTimeout(100000); waitfor(isAppConnected(“App”)); The first line sets the timeout for the waitfor operation to 100 seconds (default is 30 secs). The second line waits until the agent is connected to RIATest. You need to pass to the isAppConnected function the id of your application.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123