Automating web app on desktop & mobile platform

Ranorex Spy, Recorder, and Studio.
manustar47
Posts: 14
Joined: Mon Jul 27, 2015 2:17 pm

Automating web app on desktop & mobile platform

Post by manustar47 » Mon Jul 27, 2015 2:25 pm

Hi Guys,

I have a requirement to automate a web application which needs to be tested on desktop as well as on Ipad.
is there any way to write a single piece of code to which can be used to test on both the platforms??
Currently am using ranorex APIs along with Visual Studio to Automate.

Appreciate your inputs.

Regards,
Manu

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automating web app on desktop & mobile platform

Post by odklizec » Tue Jul 28, 2015 8:46 am

Hi,

As long as the desktop and mobile HTML code is the same (which I seriously doubt), it should be possible to use (more or less) the same code? But if the web app is optimized for mobile devices, its GUI is most probably very different from the desktop app and therefore, your chances to use the same code are very slim ;)

Could you please upload Ranorex snapshot from the desktop and mobile version of the web app (you can learn how to create one >here<)?
A sample project showing your web app in action would be nice too, but Ranorex snapshot is the essential minimum we need to see.
Pavel Kudrys
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

manustar47
Posts: 14
Joined: Mon Jul 27, 2015 2:17 pm

Re: Automating web app on desktop & mobile platform

Post by manustar47 » Thu Jul 30, 2015 5:30 am

Thank you for the info. the web application which i want to test is still not available testing. i was just evaluating Ranorex. I tried on ranorex website itself. I don't know how to capture screenshot on mobile device. tell me the way to do it so that i will share my observations.

Regards,
Manu

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automating web app on desktop & mobile platform

Post by odklizec » Thu Jul 30, 2015 7:38 am

Hi,

The problem of testing on iOS/Android is, that there could be tested only Ranorex instrumented apps, which automatically rules out all system apps, including web browser. The only way how to test web pages on iOS/Android is to use Ranorex own RxBrowser, available here:
http://www.ranorex.com/support/user-gui ... chive.html
I would suggest you to check this post about testing on iOS:
http://www.ranorex.com/support/user-gui ... sting.html
Pavel Kudrys
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