Forum Discussion
There are no prizes for using the fewest words possible to ask your question. ;) The more information you give us, the easier it will be to help you.
Are you looking for setup instructions or training or have you already started a test?
What have you tried?
What happened when you did that?
What did you expect to happen instead?
- nishaa1238 years agoContributor
We were using test complete to test our web application before .We changed our application to RWD(Responsive Web design) site.
When i tried using the same script i was getting error on Sys.Browser().Page("*") as a result i was not able to find element on the page.
That time i realize it might happened because of RWD change and may be it will need any new add in to test RWD sites.
Please advice.
- AlexKaras8 years agoChampion Level 3
Hi,
Responsive web design is just a technology that tries to determine what client requests for data (desktop or mobile client, from Windows or Android or Win Mobile or iOS platform, etc.) and return the most appropriate content. The client (browser) receives the same HTML regardless of what technology is used on the web server. As TestComplete works with the client only, no additional plug-in is required.
I would recommend a nice http://blog.falafel.com/31-days-testcomplete-mobile/ blog by Falafel, SmartBear's partner and also their 'Testing Mobile Applications In TestComplete' e-book (testing-mobile-applications-in-testComplete.pdf) that should be available on their site as well.
- nishaa1238 years agoContributor
Thank you so much .
- tristaanogre8 years agoEsteemed Contributor
I don't know if there is a SPECIFIC add-in/plug-in for RWD... however, if the application under test has changed, then, yes, you will need to do some rework... page titles can change, object recognition criteria will change, etc.
Technically speaking, the line of code you posted should be able to find any page open in any browser. However, it is ANY page on ANY browser so, if you have multiple pages open, multiple browsers, etc., the result could be ambiguous as to WHICH page is returned. Try being more specific with regards to the object identification to make sure that you are targetting the correct page for your tests.- nishaa1238 years agoContributor
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??
Related Content
- 4 years ago
Recent Discussions
- 2 days ago