You're right,
if the Java Build Path is set on the java repository ("src/squashTA/resources/squashTA/selenium/java"), then the macro command should be :
TEST :
# EXECUTE_SELENIUM2 selenium WITH MAIN CLASS [b]TestScript.abc[/b]
regards,
Quentin
Issue while developing selenium framework for SquashTA
Issue while developing selenium framework for SquashTA
Hi Quentin,
Tried everything, but it didn't worked, so thought to create fresh project in new workspace and trying from scratch.
But when I am creating the project by following the tutorial "https://sites.google.com/a/henix.fr/wik ... d-selenium"
it is not showing Java build path option. please find below screenshot.
Can you please help me why this is happening? and how to bring back java build path option.
[attachment=490]Capture-5.jpg[/attachment]
Tried everything, but it didn't worked, so thought to create fresh project in new workspace and trying from scratch.
But when I am creating the project by following the tutorial "https://sites.google.com/a/henix.fr/wik ... d-selenium"
it is not showing Java build path option. please find below screenshot.
Can you please help me why this is happening? and how to bring back java build path option.
[attachment=490]Capture-5.jpg[/attachment]
- Pièces jointes
-
- Capture-5.jpg (30.19 Kio) Consulté 2249 fois
Issue while developing selenium framework for SquashTA
Hello Pankaj,
to view Java Build Path property, go to Properties -> Project Facets and select "Java". But it might not solve the problem.
Could you please send me your first project "TestProject". I'll take a look at it and try to find a solution before the end of the week.
Regards,
Quentin.
to view Java Build Path property, go to Properties -> Project Facets and select "Java". But it might not solve the problem.
Could you please send me your first project "TestProject". I'll take a look at it and try to find a solution before the end of the week.
Regards,
Quentin.
Issue while developing selenium framework for SquashTA
Hello Quentin,
I already tried with Project Facets but still not able to bring the Java build path option.
Does it necessary to configure in Java build path or is it fine if we don't have Java build path option present?
Meanwhile, please find my attached SquashTA project zip file, please try to run abc.ta file.
[attachment=491]testProject.zip[/attachment]
Thank you very much for your help and support.
I already tried with Project Facets but still not able to bring the Java build path option.
Does it necessary to configure in Java build path or is it fine if we don't have Java build path option present?
Meanwhile, please find my attached SquashTA project zip file, please try to run abc.ta file.
[attachment=491]testProject.zip[/attachment]
Thank you very much for your help and support.
- Pièces jointes
-
- testProject.zip
- (68.19 Kio) Téléchargé 150 fois
Issue while developing selenium framework for SquashTA
Hello Pankaj,
Here is your working project. I screenshot changes I've done so you understand the problems :
- junit and selenium dependencies weren't configured properly in the pom.xml
- your java test was not in a package, what generated a mistake
The project is ready to run !
Best regards,
Quentin
Here is your working project. I screenshot changes I've done so you understand the problems :
- junit and selenium dependencies weren't configured properly in the pom.xml
- your java test was not in a package, what generated a mistake
The project is ready to run !
Best regards,
Quentin
- Pièces jointes
-
- run_Configuration1.jpg (155.67 Kio) Consulté 2249 fois
-
- Run_configuration2.jpg (110.59 Kio) Consulté 2249 fois
-
- Changes_inPOM.jpg (43.26 Kio) Consulté 2249 fois
-
- testProject.zip
- (65.85 Kio) Téléchargé 167 fois