I need some help. I have prepared workflow that open 3 different web urls (using Separate Open Browser for each urls). They are working fine.
I have also put one message box to display the url’s are working fine.
I need some help how can i display message when these url’s are not opening .
e.g. http://testserver1.com is not opening then how can i show if this is down and if any validation activity would needed . Some simple solution would be helpful.
first of all manually open all 3 urls. Focus on happy scenario first for example when the website is successfully open that select an element and put the selector of this element into element exist. For example when we open facebok.com then facebook icon is visible on website so use element exist for all these websites. in case of website doesn’t load successfully or website shutdown then element exist false value which you indicate that website is down.
Hi @ghazanfar ,
Sorry but i am still stucked . I tried the Element Exists - got some text from the website for happy scenario, stored it in a variable then i have no clue how to proceed further.
i also,put the message box to show True value but it gives true when i give the incorrect url .
The selector is incorrect. What is the first thing that you see on website when url loads successfully? Like any any tittle on page , or button, or any label make selector of it which contains aname and type property at least one of it then put it into element exist. Hope it will work now
this is title part -
when you say put it in element exists, then does that mean i need to put title in Output value under properties in the workflow?
Sorry for these questions i am the new in UIPath
In the selector add properties like aname or tag rather than class. Element exist return boolean that u use in if condition. It will give true if url loads successfully or false value in case of url does load successfully