Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webelement innertext is not case sensitive
#1
Not Solved
In my application I have two webelements having innertext as

1. veolia transport
2. Veolia Transport - (words V and T are uppercase here)

I have used below code to click the object that has innertext "Veolia Transport"
Code:
browser("index:=0").page("title:=.*").webelement("innertext:=Veolia Transport").Click
However I am getting an error saying "Description matches more than one object".

When I use below code then it is working,
Code:
browser("index:=0").page("title:=.*").webelement("innertext:=Veolia Transport","index:=1").Click

How to make sure that object recognition considers case sesitive.

Note: I want to avoid index property.

Thanks in advance!!

Regards,
Sandeep.
Reply


Messages In This Thread
Webelement innertext is not case sensitive - by san4hex - 05-09-2013, 11:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Select case is not being executed in a Function Anupama 1 1,443 05-25-2018, 11:15 AM
Last Post: Anupama
  Using Range in Select Case Statement Studymode 0 1,345 12-14-2017, 06:18 PM
Last Post: Studymode
  Using Select Case Statement Studymode 0 11,152 12-13-2017, 05:55 AM
Last Post: Studymode
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,232 09-28-2016, 08:58 PM
Last Post: supputuri
  Case changes while reading values from inbuilt datatables krishnakittu03 3 2,753 04-28-2015, 11:34 AM
Last Post: kbhargava505

Forum Jump:


Users browsing this thread: 1 Guest(s)