Issue while developing selenium framework for SquashTA

qdusser
Messages : 55
Inscription : lun. mars 05, 2018 2:56 pm

Issue while developing selenium framework for SquashTA

Message par qdusser »

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
Pankaj
Messages : 15
Inscription : mar. mars 13, 2018 9:26 am

Issue while developing selenium framework for SquashTA

Message par Pankaj »

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]
Pièces jointes
Capture-5.jpg
Capture-5.jpg (30.19 Kio) Consulté 2212 fois
qdusser
Messages : 55
Inscription : lun. mars 05, 2018 2:56 pm

Issue while developing selenium framework for SquashTA

Message par qdusser »

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.
Pankaj
Messages : 15
Inscription : mar. mars 13, 2018 9:26 am

Issue while developing selenium framework for SquashTA

Message par Pankaj »

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.
Pièces jointes
testProject.zip
(68.19 Kio) Téléchargé 147 fois
qdusser
Messages : 55
Inscription : lun. mars 05, 2018 2:56 pm

Issue while developing selenium framework for SquashTA

Message par qdusser »

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
Pièces jointes
run_Configuration1.jpg
run_Configuration1.jpg (155.67 Kio) Consulté 2212 fois
Run_configuration2.jpg
Run_configuration2.jpg (110.59 Kio) Consulté 2212 fois
Changes_inPOM.jpg
Changes_inPOM.jpg (43.26 Kio) Consulté 2212 fois
testProject.zip
(65.85 Kio) Téléchargé 166 fois
Répondre

Revenir à « SKF »