So far, I have spent two half-hour pair-programming sessions attempting to train a manual tester on my team how to do automation development. That is IntelliJ IDEA's 'Intellisense' feature." Press those keys at the same time right after you see the DesiredCapability IntelliJ tooltip. On the MacBook, it is CTRL+Enter to import. Why is the word DesiredCapabilities underlined in red in our editor? We haven't imported the library into our 'Smoketest.java' class. To the left of the equation, we are placing that value in a variable we are calling "caps", and declaring that also to be of type DesiredCapabilities. On the right side of the equation, we just declared a new instance of the class DesiredCapabilities, part of the Selenium WebDriver library. "Now, type on the next line, Capital-D, DesiredCapabilities, one word! Then space, the word 'caps', space, equals sign, the word 'new', Capital-D DesiredCapabilities, one word! Open-parentheses, then close-parentheses, semi-colon. This is part three of of a seven-part blog series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |