Extremely sorry, I never worked with C for selenium. If it is Java then I can surely help you. You are always welcome to learn-automation. What is use of csv file, In real time project where we can use, it is rerally important to learn.
Why we are introducing complexity of external jar here? We can directly read this file line by line as CSV is normal text file and then use StringTokenizer class inbuilt in Java to split every line with comma , as delimiter and use individual elements as cells of excel. I applied the same concept in reading excel file post. Kindly check and try to apply the same logic.
It all depends on return type of method. List is part of collection interface and it allow dynamic element to be stored. Your email address will not be published. Notify me of follow-up comments by email. Notify me of new posts by email. Alexey R. Hi Alexey, it's a third party website so I cannot make changes in that. And also the id's are generated dynamically so how to handle that?
Novice did I mention any changes to the website? I just described how you should build your xpath to define the row you d like to operate with to download file. You should refer to the content, not to the structure.
I am not sure how to do it. Something like: for WebElement e: allLinks e. Dakshinamurthy Karra Dakshinamurthy Karra 1 1 silver badge 6 6 bronze badges. Hi Dakshinamurthy, Actually I am not able to point to table because as per my understanding first I should be able to point to table and then only I should go for downloading the files.
Isn't it? You do not need to descend from the table onwards. The above selector should give you all links in each of the row. Couple of points. Have a look at developer.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Ittiel Ittiel 1, 9 9 silver badges 12 12 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE. Email Required, but never shown.
The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE. Podcast Who is building clouds for the independent developer? Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Linked 1. Related Hot Network Questions. Question feed.
0コメント