I have one website and need to provide supplier name and click enter it will take sometime to load the page and will be giving me supplier contact. I am using delay how to bypass this.
I have tried with on element appear default is 30 sec there it will load sometimes within 30 and for some taking more time.
how to do it I have to wait until element appear if present I need to extract if no data go to next row item.
Loading page timimngs differ from supplier to supplier.some i can get 10sec 30 or 50 secs
I am using delay of 50secs if no data also its waiting for 50secs since i gave the delay value Can anyone guide me how to bypass the delay.
You should be using the activity’s timeout to handle this, not a delay. The timeout means “wait this long for it to appear, but continue processing as soon as it appears.”
Try giving check app state, if the element appears before the seconds you have given to wait , it will break and go to action sequence , otherwise it will wait until the time you have given
Check app state would be your way…ideally you can give maximum timeout …then if it appears it woild move faster if it does not appear it would wait for max time and then move to does not appear side of check app state