I want to use Wildcards in my attributes. For example, this is my regular XPath:
xpath=//div[@id='_exoik_requests_WAR_exoikonomov2portlet_:j_idt1368:exoikBudgetTable:${FCIndex}:bdgDapani_panel']/div[2]/ul/li[${ParNum}]I want to replace the j_idt number with a wildcard because the number is dynamic. I'm looking for something like this:
//input[@id='activation:*:voId:1']I've tried the following with no success in selenium IDExpath=//div[starts-with(@id,'_exoik_requests_WAR_exoikonomov2portlet_:') and contains(@id,':exoikBudgetTable:'):${FCIndex}:bdgDapani_panel']/div[2]/ul/li[${ParNum}]xpath=//div[starts-with(.,'_exoik_requests_WAR_exoikonomov2portlet_:') and contains(.,':exoikBudgetTable:'):${FCIndex}:bdgDapani_panel']/div[2]/ul/li[${ParNum}]
I don't know how to solve that issue. Is my idea even possible?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1fe6e9bf-79a8-47b1-9959-4448cebdd95bn%40googlegroups.com.