Forum Discussion
I am using this line of code (Sys.Browser().Page("*")) to identify the current page name followed by the element name in order to identify the element on the navigated Page but this line of code is not giving me any result .
As this is very basic function and it is regardless to any application,i am more concern about it.
Is there any specif change in code i need to do as we have RWD now??
That line of code, as you mentioned, IS very basic. So, it should work.
Could you post the code as you are using it in your test? It may be helpful to see how you are using it in context. Perhaps a sample function or subroutine that shows how you are using it and then a screenshot or text output of any error messages you are getting.
For example, I tried the following in JavaScript:
function TestSomething() { var page; page = Sys.Browser().Page('*'); Log.Message(page.Name); }
and it gave me the following output.