Hello
I have to check the pseudo element is exists or not. i have tried with xpath but it did not work.
thanks
How to detect pseudo element(::after)
How to detect pseudo element(::after)
You do not have the required permissions to view the files attached to this post.
Re: How to detect pseudo element(::after)
Hi,
I'm afraid, you are probably out of luck here? The thing is, that the xpath does not support colons. So there is no way to create an xpath for this style selector. In my opinion, your only hope is to create an xpath for the element, which is suppose to contain this selector ?(span tag) and then obtain its inner HTML code, via GetInnerHTML action. This should read the HTML content of pointed element and then you can parse the obtained content. I don't think there is any other way around this?
I'm afraid, you are probably out of luck here? The thing is, that the xpath does not support colons. So there is no way to create an xpath for this style selector. In my opinion, your only hope is to create an xpath for the element, which is suppose to contain this selector ?(span tag) and then obtain its inner HTML code, via GetInnerHTML action. This should read the HTML content of pointed element and then you can parse the obtained content. I don't think there is any other way around this?
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration