All Downloads are FREE. Search and download functionalities are using the official Maven repository.

automated.platforms.mobile.MobileActions Maven / Gradle / Ivy

package automated.platforms.mobile;

import automated.platforms.mobile.android.AndroidActions;
import automated.platforms.mobile.ios.IOSActions;
import automated.test_manage.config.Platform;
import automated.platforms.mobile.android.AndroidActions;
import automated.platforms.mobile.ios.IOSActions;
import automated.test_manage.config.Platform;

/**
 * Created by Ismail on 1/5/2018.
 * This Class contains all related generic methods and
 * their implementation for Mobile application actions
 */
public class MobileActions {

    /*************** Class Methods Section ***************/
    // This method to apply pullToRefresh action on Mobile
    public static void pullToRefresh() {
        // Check which Mobile Platform running
        if (Platform.mobile.equalsIgnoreCase("android"))
            //If Android then call AndroidActions.pullToRefresh method
            AndroidActions.pullToRefresh();
        if (Platform.mobile.equalsIgnoreCase("ios"))
            //If iOS then call IOSActions.pullToRefresh method
            IOSActions.pullToRefresh();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy