Thread

Skip Navigation LinksForums > Rapise Forums > Rapise Issues & Questions > Objects not found on firs...

Objects not found on first run RSS Feed

Tuesday, August 5, 2014
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



2 Replies
Jim R.Jim R.
re: Judith Brown on Tuesday, August 5, 2014
Saturday, August 9, 2014
Hi Amanda

If you have not already done so, I'd recommend logging a help desk ticket since this is pretty specific.

Regards

Jim.
Linford GoedschalkLinford Goedschalk
re: Jim R. on Saturday, August 9, 2014
Friday, July 31, 2015
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
Statistics
  • Started: 8/5/2014
  • Last Reply: 7/31/2015
  • Replies: 2
  • Views: 5055
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.