1

I have installed PerfectoMobile plug-in for Eclipse and was able to connect to Perfecto lab from Eclipse. I am trying to write the selenium automation code but the following WebDriver class is never recognized.

MobileDriver driver = new MobileDriver("mobilecloud.perfectomobile.com","username","password");

Where do we import the jar file for com.perfectomobile.selenium?

Shai
  • 25,159
  • 9
  • 44
  • 67
krrishna
  • 2,050
  • 4
  • 47
  • 101

2 Answers2

0

I just realized that when I create a new project of type Perfecto Lab Java Selenium Project I see the jar file for com.perfectomobile.selenium added automatically.

Dimitar
  • 4,402
  • 4
  • 31
  • 47
krrishna
  • 2,050
  • 4
  • 47
  • 101
0

Step1 : Download and Install the perfecto plugin from : https://developers.perfectomobile.com/display/PD/IDE+Plugin+Installation

Step2 : on your IDE : Navigate to File > Settings (depends on your IDE) for IntelliJ IDEA 2018.2.7 navigate to this :

enter image description here

Step3 : (remember you installed the plugin in step 1

enter image description here

Step4 : Add a module (give it a Name eg. "Perfecto_module")

Once done you will see this

enter image description here

Now its up-to you how you want to utilise this in your project, Good luck !

eaccmk
  • 366
  • 2
  • 6