The answer is a bit complicated. No you can't achieve this using selenium ide alone. ( Do correct me if i am wrong) How ever u can achieve the same using java scripts. So u execute the java script keyword and enter this storeEval javascript{prompt("Enter your runtime data")} data Then you can use the value ${data} Other technique is you can write ur own user defined keywords that performs the function intended and you can call ur custom function where ever required. Try avoiding making complicated scripts using ide. Its was intended to be used for checking compatibility of selenium with an application or simple flows. Anything complex use selenium webdriver. Do look at the webdriver playlist for more details.
@@AutomationzoneActually i'm trying to make a tool which would navigate to a particular site search for a particular link/keyword(Which a user will input) ,navigate to it and create a PDF of the result page and return it to the user! Could you possibly help this out?Much appreciated, Thank you. i'm new to java script so didn't understand what you just said :P
nice informative video..practiced the same example...hope to see more videos from you
+arjun s thanks, if u have suggestions, any tutorials you would like to be added do let me know in ur comments
+arjun s thanks, if u have suggestions, any tutorials you would like to be added do let me know in ur comments
Hello
Is there any way we take an input from the user and search it in the whole page?
The answer is a bit complicated.
No you can't achieve this using selenium ide alone. ( Do correct me if i am wrong)
How ever u can achieve the same using java scripts.
So u execute the java script keyword and enter this
storeEval javascript{prompt("Enter your runtime data")} data
Then you can use the value ${data}
Other technique is you can write ur own user defined keywords that performs the function intended and you can call ur custom function where ever required.
Try avoiding making complicated scripts using ide. Its was intended to be used for checking compatibility of selenium with an application or simple flows.
Anything complex use selenium webdriver. Do look at the webdriver playlist for more details.
@@AutomationzoneActually i'm trying to make a tool which would navigate to a particular site search for a particular link/keyword(Which a user will input) ,navigate to it and create a PDF of the result page and return it to the user! Could you possibly help this out?Much appreciated, Thank you.
i'm new to java script so didn't understand what you just said :P