Forum Discussion

teja2711's avatar
teja2711
New Contributor
13 years ago

How to create xpath for web applications

I want to use xpath in my script.



Can anyone post sample script to automate gmail appilcation using xpath variables.



Right now iam using TC9



Thanks

3 Replies

  • teja2711's avatar
    teja2711
    New Contributor
    Thanks for the reply. I've one more question i.e.



    I dont want to define xpath in my script directly. I want to store all my Xpaths in a Excel sheet and access it from script using EvaluateXPath.But iam unable to do so.



    Can anyone help me on this



  • Hi Swapna,


     


    I dont want to define xpath in my script directly. I want to store all my Xpaths in a Excel sheet and access it from script using EvaluateXPath.But iam unable to do so.


    What exactly doesn't work? You can use any of the approaches listed in the "Working With Microsoft Excel Files" article to read data from an Excel file.