Inflectra Customer Forums: Objects not found on first run (Thread) Hi, I've got a weird issue going on with a script which is getting quite frustrating. The script opens Chrome, navigates to a page and does a Global.DoWaitFor('Search'); It's waiting for the main search button to appear on the page so that I know the page has loaded. After this it verifies the search button is enabled and that the text is correct. The issue I'm having is that the first time you run it you get an object not found error on the verification step. If I then re-run the script leaving the previous failed chrome window open, the script successfully opens a new Chrome window, navigates to the page but this time finds the objects and passes. This happens every time if starting from a point of no Chrome window open. I have tried adding in a Global.DoSleep and upped it to 15 seconds (15000), but still no luck on the first run. Any ideas anyone? Cheers, Amanda en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/rapise/issues-questions/963.aspxthreadId=963Judith Brown (judith.brown@countdown.co.nz)rapise objects object not found chromeObjects not found on first run Hi, I've got a weird issue going on with a script which is getting quite frustrating. The script opens Chrome, navigates to a page and does a Global.DoWaitFor('Search'); It's waiting for the main search button to appear on the page so that I know the page has loaded. After this it verifies the search button is enabled and that the text is correct. The issue I'm having is that the first time you run it you get an object not found error on the verification step. If I then re-run the script leaving the previous failed chrome window open, the script successfully opens a new Chrome window, navigates to the page but this time finds the objects and passes. This happens every time if starting from a point of no Chrome window open. I have tried adding in a Global.DoSleep and upped it to 15 seconds (15000), but still no luck on the first run. Any ideas anyone? Cheers, Amanda Tue, 05 Aug 2014 05:34:14 -04002022-12-09T04:10:48-05:00/Support/Forum/rapise/issues-questions/963.aspxmessageId=1761Jim R (donotreply5@kronodesk.net) Hi Amanda If you have not already done so, I'd recommend logging a help desk ticket since this is Hi Amanda If you have not already done so, I'd recommend logging a help desk ticket since this is pretty specific. Regards Jim. Sun, 10 Aug 2014 01:24:54 -04002014-08-10T01:24:54-04:00/Support/Forum/rapise/issues-questions/963.aspx#reply1761messageId=2270Linford Goedschalk (l.goedschalk@formsvision.com) Hello, I am currently experiencing something similar. Sometimes elements that have been lea Hello, I am currently experiencing something similar. Sometimes elements that have been learned can be clicked on in order to progress further through the script and at other times the error "element does not appear on screen" is reported. This is the case for several different elements. Is there a way to fix this? Sincerely, Linford Fri, 31 Jul 2015 13:50:11 -04002015-07-31T13:50:11-04:00/Support/Forum/rapise/issues-questions/963.aspx#reply2270messageId=3730Renor Pine (renor.pine@h2software.net) Hi, Is there any updates regarding this issue? Hi, Is there any updates regarding this issue? Tue, 18 Feb 2020 01:23:15 -05002020-02-18T01:23:15-05:00/Support/Forum/rapise/issues-questions/963.aspx#reply3730messageId=3855Max K (denis.markovtsev@inflectra.com) I think this issue was resolved long ago. I think this issue was resolved long ago. Fri, 09 Oct 2020 08:49:21 -04002020-10-09T08:49:21-04:00/Support/Forum/rapise/issues-questions/963.aspx#reply3855messageId=5822lovely Thakur (thakurlovely1404@gmail.com) what was the resolution? what was the resolution? Fri, 09 Dec 2022 04:10:48 -05002022-12-09T04:10:48-05:00/Support/Forum/rapise/issues-questions/963.aspx#reply5822messageId=5823lovely Thakur (thakurlovely1404@gmail.com) what was the resolution? what was the resolution? Fri, 09 Dec 2022 04:10:48 -05002022-12-09T04:10:48-05:00/Support/Forum/rapise/issues-questions/963.aspx#reply5823