Setup Menus in Admin Panel

ITeLearn.com

While running this below script, facing issue near click on recover button. Help me on this. | Selenium Automation | Discussions | ITeLearn.com

Forum usage guidelines

  1. Search First.: If you don’t find a similar post, start a new topic. If you find a similar thread and still have a question, reply to that topic. Duplicate threads will be ignored/deleted without warning.
  2. Proper Subject: Ensure you choose a very appropriate topic name. Else it will be tough to get support from other members.
  3. Patience, please: Our Tech team or other members will usually try to respond within 24 hours on weekdays and max within 48 hours on weekends. Sometimes sooner.
  4. Share opinions: Please feel free to reply, add or comment on any ongoing topics. Collective learning will be of great benefit to all.

 
ITeLearn reviews from participants.

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
While running this below script, facing issue near click on recover button. Help me on this.
April 16, 2017
10:43 am
Sharmila Nallamalli
New Member
Forum Posts: 1
Member Since:
March 29, 2017
Offline

Getting this error message. Downloading jQuery version 1.9.1 or higher resolve this issue? if so what is the best site I can download?

Apr 16, 2017 8:35:20 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
JavaScript error: https://anyaut.com/app/vendors/bootstrap/dist/js/bootstrap.min.js, line 6: Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
JavaScript error: https://anyaut.com/app/vendors/bootstrap/dist/js/bootstrap.min.js, line 6: Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
1492392983537 Marionette INFO New connections will no longer be accepted
[Child 4380] ###!!! ABORT: Aborting on channel error.: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2143

Details:
//Open a Firefox browser
//Go to AnyAUT.com
//Click on forgot password
//Enter invalid email address
//Click on recover button
//verify message “Email not found”
//Close the Browser

Script:
import java.util.concurrent.TimeUnit;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class trial {
WebDriver myDriver;
String vBrowserName, vURL, vEmailID, vExpmessage, vActmessage, vResult ;

@Before
public void before(){
System.setProperty(“webdriver.gecko.driver”,”———————————————————-.exe”);
myDriver = new FirefoxDriver();
myDriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
vBrowserName = “FireFox”;
vURL = “http://WWW.AnyAUT.com/app/”;
vEmailID = “abc@gmail.com”;
vExpmessage = “Email is not found !” ;

}

@Test
public void Test(){
//Open a browser

myDriver.get(vURL);
myDriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);

myDriver.findElement(By.id(“forgot_password_link”)).click();

myDriver.findElement(By.id(“forgot_email”)).clear();

myDriver.findElement(By.id(“forgot_email”)).sendKeys(vEmailID);

myDriver.findElement(By.name(“submit”)).click();

vActmessage = myDriver.findElement(By.id(“hideMe”)).getText();

System.out.println(“Actual Message is:” + vActmessage);
System.out.println(“Expected Message is:” + vExpmessage);

if (vExpmessage.equals(vActmessage)) {
vResult = “Pass”;
}
else {
vResult = “Fail”;
}
}

@After
public void after(){
myDriver.quit(); //close the browser
}
}

April 19, 2017
9:21 am
Techhelp
Member
Forum Posts: 1919
Member Since:
October 26, 2012
Offline

I replied in mail please check, this could be issue of variable scope

Forum Timezone: UTC -8

Most Users Ever Online: 70

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Techhelp: 1919

Manu: 114

Shan Nathan: 80

Palanki sai charan: 67

Userone: 59

Vishal Anand: 53

Archana Sapre: 51

Geetha Reddy: 44

useL: 38

Priyanka Perumalla: 36

Member Stats:

Guest Posters: 19

Members: 8005

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 22

Topics: 2098

Posts: 5771

Newest Members: Devasena Devasena, Deepti Agrawal, Paul Jo Paul Jo, Arvind Raja, Shirisha Chippagiri, Aldo Martinez, Basil Ibrahim, Sankalp Navghare, Samiksha Dalvi, Chandani Chaudhari

Administrators: Karthik eLearn (Admin): 49

0 Responses on Discussions"

Main Menu