Swipe down in Android App using Ranorex

Ask general questions here.
Geethac
Posts: 1
Joined: Thu Jul 23, 2020 4:55 pm

Swipe down in Android App using Ranorex

Post by Geethac » Thu Jul 23, 2020 5:18 pm

Hi,

In my Mobile(Android app) Application i have to do swipe down untill element is visible , when i am trying below code Swipe down was happening and able to reach that element, After getting that element also loop was iterating since element was not able to identify. always 'b' value was false.

[UserCodeMethod]
public static void swipe1_method()
{
Boolean b= repo.ComKciDwcPatientapp.MyPlanPage.BtnMyHealingTrackingInfo.Exists(1000);

do{
Keyboard.Press("{Down}");
b=repo.ComKciDwcPatientapp.MyPlanPage.BtnMyHealingTrackingInfo.Exists(1000);
}while(!b);

so i have tested the same element by using ranorex predefined function(Validate.Exists(repo.ComKciDwcPatientapp.MyPlanPage.BtnMyHealingTrackingInfo)) , for this i have done swipe down manually.This function is working and able to recognize that element.

But when iam trying to do same in Usercode it's not Working.

Can you please help me on this issue.


Thanks,
Geetha C

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Swipe down in Android App using Ranorex

Post by Support Team » Fri Aug 07, 2020 5:20 pm

Hi!

Please contact us via the links below and we will be more than happy to further assist you with this! Kind Regards,
Ranorex Team
.
Image