Ranorex API

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
pkaraya
Posts: 5
Joined: Thu Apr 03, 2014 6:32 pm

Ranorex API

Post by pkaraya » Thu Apr 03, 2014 6:36 pm

Something I've been meaning to look for in the Ranorex API is a way to see if the whole page contains a string. This is commonly done in selenium with a call like:

AssertTrue (driver.getPageSource().contains("text_to_search"));

Do you know if there is anything similar in Ranorex?

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex API

Post by krstcs » Fri Apr 04, 2014 1:43 pm

See my answer to the same question here:

http://www.ranorex.com/forum/post25080.html#p25080
Shortcuts usually aren't...