by Nataliia Vasylyna | March 5, 2011 5:00 pm
1. What is the difference between an assert and a verify with Selenium commands?
2. What Selenese commands can be used to help debug a regexp?
3. What is one big difference between SilkTest and Selenium, excluding the price?
4. Which browsers can Selenium IDE be run in?
5. If a Selenium function requires a script argument, what would that argument look like in general terms?
6. If a Selenium function requires a pattern argument, what five prefixes might that argument have?
7. What is the regular expression sequence that loosely translates to “anything or nothing?”
8. What is the globbing sequence that loosely translates to “anything or nothing?
9. What does a character class for all alphabetic characters and digits look like in regular expressions?
10. What does a character class for all alphabetic characters and digits look like in globbing?
11. What must one set within SIDE in order to run a test from the beginning to a certain point within the test?
12. What does a right-pointing green triangle at the beginning of a command in SIDE indicate?
13. How does one get rid of the right-pointing green triangle?
14. How can one add vertical white space between sections of a single test?
15. What Selenium functionality uses wildcards?
16. Which wildcards does SIDE support?
17. What are the four types of regular expression quantifiers which we’ve studied?
18. What regular expression special character(s) means “any character?”
19. What distinguishes between an absolute and relative URL in SIDE?
20. How would one access a Selenium variable named “count” from within a JavaScript snippet?
21. What Selenese command can be used to display the value of a variable in the log file, which can be very valuable for debugging?
22. If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?
23. Where did the name “Selenium” come from?
24. Which Selenium command(s) simulates selecting a link?
25. Which two commands can be used to check that an alert with a particular message popped up?
26. What does a comment look like in Column view?
27. What does a comment look like in Source view?
28. What are Selenium tests normally named (as displayed at the top of each test when viewed from within a browser)?
29. What command simulates selecting the browser’s Back button?
30. If the Test Case frame contains several test cases, how can one execute just the selected one of those test cases?
31. What globbing functionality is NOT supported by SIDE?
32. What is wrong with this character class range? [A-z]
33. What are four ways of specifying an uppercase or lowercase M in a Selenese pattern?
34. What does this regular expression match?
regexp:[1-9][0-9],[0-9]{3},[0-9]{3}
35. What are two ways to match an asterisk within a Selenese regexp?
36. What is the generic name for an argument (to a Selenese command) which starts with //?
37. What Selenese command is used to choose an item from a list?
38. How many matches exist for this pattern?
regexp:[13579][02468]
39. What is the oddity associated with testing an alert?
40. How can one get SIDE to always record an absolute URL for the open command’s argument?
41. What Selenese command and argument can be used to transfer the value of a JavaScript variable into a SIDE variable?
42. How would one access the value of a SIDE variable named name from within a JavaScript snippet used as the argument to a Selenese command?
43. What is the name of the type of JavaScript entity represented by the last answer?
44. What string(s) does this regular expression match?
regexp:August|April 5, 1908
45. What Selenium regular expression pattern can be used instead of the glob below to produce the same results?
verifyTextPresent | glob:9512?
46. What Selenium globbing pattern can be used instead of the regexp below to produce the same results?
verifyTextPresent | regexp:Hush.*Charlotte
Source URL: https://blog.qatestlab.com/2011/03/05/interview-questions-of-selenium/
Copyright ©2024 QATestLab Blog unless otherwise noted.