Is copying the xpath in real projects, is a good choice?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Is copying the xpath in real projects, is a good choice?

javelearner
Hello Selenium experts, 

Can anyone please confirm that is it a good practice to just copy the Xpaths?

what are the advantages and disadvantage or doing that??

Thanks in advance!! 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is copying the xpath in real projects, is a good choice?

Mahmoud Abuzaid
Not good try to generate your own xpath

Use Eskry plugin on chrome to help you

On Wed, May 9, 2018 at 8:13 PM <[hidden email]> wrote:
Hello Selenium experts, 

Can anyone please confirm that is it a good practice to just copy the Xpaths?

what are the advantages and disadvantage or doing that??

Thanks in advance!! 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALAOJfDQP0Qsm0cdGZcnv7zenPp_kZ5u02TQ0OfYvdOkweDTvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is copying the xpath in real projects, is a good choice?

javelearner
ok Thanks Mahmoud!! 

I have another question.. 

All of my java files have been converted into class files and it gives message "" There is no sources file attached to the class file amazonHomeWork.class" Can you please help what could be wrong and how I can fix this? 

On Thursday, May 10, 2018 at 1:02:25 AM UTC-5, Mahmoud Abuzaid wrote:
Not good try to generate your own xpath

Use Eskry plugin on chrome to help you

On Wed, May 9, 2018 at 8:13 PM <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="GmW3Gz-yBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">javel...@...> wrote:
Hello Selenium experts, 

Can anyone please confirm that is it a good practice to just copy the Xpaths?

what are the advantages and disadvantage or doing that??

Thanks in advance!! 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="GmW3Gz-yBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="GmW3Gz-yBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is copying the xpath in real projects, is a good choice?

Mahmoud Abuzaid
Sorry but I can’t understand this issue quite well what did you mean java file share a screen shoot please

On Thu, May 10, 2018 at 3:18 PM <[hidden email]> wrote:
ok Thanks Mahmoud!! 

I have another question.. 

All of my java files have been converted into class files and it gives message "" There is no sources file attached to the class file amazonHomeWork.class" Can you please help what could be wrong and how I can fix this? 


On Thursday, May 10, 2018 at 1:02:25 AM UTC-5, Mahmoud Abuzaid wrote:
Not good try to generate your own xpath

Use Eskry plugin on chrome to help you

On Wed, May 9, 2018 at 8:13 PM <[hidden email]> wrote:
Hello Selenium experts, 

Can anyone please confirm that is it a good practice to just copy the Xpaths?

what are the advantages and disadvantage or doing that??

Thanks in advance!! 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALAOJfDt6nO_%3DXmwXwn1C5jWeJ8aKQB87WHLfU3d51fAKiZ9mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is copying the xpath in real projects, is a good choice?

javelearner
Hi Mahmoud! Thanks for replying.. I had created another project and uploaded the selenium jar files in that project.. after that previously generated project's files converted into class file instead of java files (like each java class file end with dot java but they ended with dot class files ) After deleting the newly generated project my old project files turned into java files again. so not sure how it worked... 

On Thursday, May 10, 2018 at 11:02:16 PM UTC-5, Mahmoud Abuzaid wrote:
Sorry but I can’t understand this issue quite well what did you mean java file share a screen shoot please

On Thu, May 10, 2018 at 3:18 PM <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="998-XxAEAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">javel...@...> wrote:
ok Thanks Mahmoud!! 

I have another question.. 

All of my java files have been converted into class files and it gives message "" There is no sources file attached to the class file amazonHomeWork.class" Can you please help what could be wrong and how I can fix this? 


On Thursday, May 10, 2018 at 1:02:25 AM UTC-5, Mahmoud Abuzaid wrote:
Not good try to generate your own xpath

Use Eskry plugin on chrome to help you

On Wed, May 9, 2018 at 8:13 PM <[hidden email]> wrote:
Hello Selenium experts, 

Can anyone please confirm that is it a good practice to just copy the Xpaths?

what are the advantages and disadvantage or doing that??

Thanks in advance!! 


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].

To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/25090eb5-dac6-40e5-995c-7921aecfdc46%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="998-XxAEAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="998-XxAEAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/bf7f3022-e6e0-4724-b491-3b1bbd0bfa3b%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Warm Regards

Mahmoud A. Zaid
Software Quality Engineer 
+201111632666

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/85f071cc-3f5e-4dda-9950-349ad674771d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.