October 2018
Intermediate to advanced
192 pages
5h 12m
English
We have explored WebElements to a large extent. Now we will actually start preparing for the hybrid framework (we will look at this in a later chapter) by creating a WebElement store. This store will be created in a file known as the properties file, which always has the .properties extension. An example entry in the properties file can be:
USERNAME=//*[@name='username']
Entries in the properties file consist of key value pairs. Here, username is the key and '//*[@name='username'] ' is the value.
These values should be retrieved by the code once the key is supplied. For this purpose, we will be writing a retrieval ...
Read now
Unlock full access