Hey everyone, I am trying to fetch the value from the website and then trying to perform a dynamic click function.
But in my if function it is always returning false to me even A==A but it still say False.
Attached herewith is the screenshot of my if condition. Your help will highly be appreciated.
Thank you, all!
Hi @Muhammad_Anas_Baloch ,
.trim while comparing the values. This will rule out the scenario where extra spaces are there and the Equals functions won’t return true in such cases.
I already tried it but it wouldn’t worked for me
@Muhammad_Anas_Baloch , before comparing can you display both the values using write line?
Try adding .ToLowe.Trim on both the sides…and check also…please print and chekc if there are any differences
The solution is Series_Label was getting the whole text from the string at once instead of one by one I just changed the For Each Ui Element to extract table and it works for me.
Thank you all for your time.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.