Questions tagged [galen]

Automating testing of responsive websites using the Galen Framework

The Galen Framework is a framework that provides automated testing of look and feel for responsive websites.

45 questions
1
vote
1 answer

galen: how to wait dynamic new page with same url

I started working with Galen and I had this test that was working perfectly: this.HomePage = $page('Welcome Page', { aboutButton: 'nav.navbar .about' }); this.AboutPage = $page('About page', { modalContent: 'div.modal-content', …
eLRuLL
  • 18,488
  • 9
  • 73
  • 99
1
vote
1 answer

Dockerize framework tests "Failed to exec"

I wanted to dockerize galenframework tests. Here is what I have currently: DockerFile FROM node:8.6 RUN mkdir -p /usr/src/galen WORKDIR /usr/src/galen COPY package.json /usr/src/galen/ RUN npm install COPY .…
ikari2k
  • 27
  • 5
1
vote
1 answer

Integrating Galen framework with Cucumber

I want to integrate Galen and Cucumber. My intention is to run Galen specs configuration in Cucumber features steps. To do so i write the following : public class First extends GalenTestBase{ @Given("^First Step$") public void firstStep()…
Daniel
  • 135
  • 8
1
vote
1 answer

Galen javascript API. CSS selector for first child

I am trying to write functional tests using Galen javascript API. I have to select first li of a ul. this.menu = $page("Menu Bar", { menuItem: "ul.section li:first-child div" }); It seems css selector first-child is wrong here. I can do the…
snehatulsi
  • 251
  • 1
  • 12
1
vote
1 answer

java.lang.ExceptionInInitializerError while running testng selenium testcase

This is my testng class /** * */ package com.igate.test; import org.openqa.selenium.remote.RemoteWebDriver; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import com.igate.framework.BaseTestCase; import…
Prasad Madge
  • 71
  • 1
  • 14
1
vote
1 answer

Cannot find element in Galen Framework

I am investigating Galen Framework to use it on new project. I am trying to submit form on Galen Demo aplication: http://samples.galenframework.com/tutorial-color-scheme/tutorial.html# I have this code in file submit-form.test.js this.SubmitPage =…
1
vote
0 answers

Galen framework Null pointer exception and FileNotFoundException

this is my galen command for gelya1.gspec file D:\Galen\Project1>galen check gelya1.gspec \ --url http://samples.galenframework.com/tutorial1/tutorial1.html \ --size 640x480 \ --htmlreport . This is my gelya1.gspec file ' @objects header …
Prasad Madge
  • 71
  • 1
  • 14
1
vote
2 answers

Handling Multi browser support in spec for Galen Framework

I am using Galen Framework for UI testing for my application. The issue I am facing is that the CSS value for the font-family varies between browsers. And if I add the check for 1 value the specs fails for the other browsers. I can write different…
Kunal Jha
  • 2,102
  • 4
  • 24
  • 34
1
vote
3 answers

How to check if there is a strikethrough on some text in selenium webdriver?

There are many planbox, which are having same class and ids, inside them there are a number of

tags and decorated text.

$70

New…

ajayv
  • 641
  • 6
  • 21
1
vote
1 answer

How to avoid repeated line of code in javascript?

I am writing galen test in javascript. I found that most of the test were written have these lines of codes are common. var loginPage = new LoginPage(driver).waitForIt(); loginPage.waitForLoginLink(); console.log("before precondition"); …
ajayv
  • 641
  • 6
  • 21
1
vote
1 answer

Galen framework for raw image comparison

Going through the below video https://www.youtube.com/watch?v=bheFQfEGR6U It is seen that image embedded inside html page is went through the image comparison, it resulted out the number of pixels doesnt match. Is there any way such that raw images…
Syed Rafi
  • 825
  • 2
  • 12
  • 35
1
vote
1 answer

Testing Behat and Galen Framework

Is there a way to use Galen responsive testing framework together with Behat ? Galen looks like a standalone tool, and I didn't found any ready connectors for Behat.
Fedir RYKHTIK
  • 9,844
  • 6
  • 58
  • 68
1
vote
2 answers

How to integrate Galen reports in Jenkins

I've started to use Galen framework to test the layout of my website pages and I also have my other test, written in Selenium, integrated into Jenkins. I'm using Java+JUnit+Maven and I would like to know if anyone has managed to integrate the Galen…
Maria
  • 107
  • 1
  • 1
  • 8
0
votes
0 answers

Galen framework is not recognizing the correct area of webelements

I am using Galen framework for layout testing along with java selenium cucumber framework. Some information that might be useful- I have a 34-inch monitor but while running my test, I resize my browser window to 1440px width and 900px height. When I…
0
votes
0 answers

Is there any framework to automate UI of a website other than Galen framework

I am currently working on TestNG framework in which Galen framework is embedded. The Galen Testcases deals the UI part of our website. I have researched a lot and there is no other automation tools same or better than that of Galen Framework for UI…
Arjun Dev
  • 406
  • 5
  • 16