Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

naming convention in selenium

+----------+----------------------------+--------+-----------------+
| Category |      UI/Control type       | Prefix |     Example     |
+----------+----------------------------+--------+-----------------+
| Basic    | Button                     | btn    | btnExit         |
| Basic    | Check box                  | chk    | chkReadOnly     |
| Basic    | Combo box                  | cbo    | cboEnglish      |
| Basic    | Common dialog              | dlg    | dlgFileOpen     |
| Basic    | Date picker                | dtp    | dtpPublished    |
| Basic    | Dropdown List / Select tag | ddl    | ddlCountry      |
| Basic    | Form                       | frm    | frmEntry        |
| Basic    | Frame                      | fra    | fraLanguage     |
| Basic    | Image                      | img    | imgIcon         |
| Basic    | Label                      | lbl    | lblHelpMessage  |
| Basic    | Links/Anchor Tags          | lnk    | lnkForgotPwd    |
| Basic    | List box                   | lst    | lstPolicyCodes  |
| Basic    | Menu                       | mnu    | mnuFileOpen     |
| Basic    | Radio button / group       | rdo    | rdoGender       |
| Basic    | RichTextBox                | rtf    | rtfReport       |
| Basic    | Table                      | tbl    | tblCustomer     |
| Basic    | TabStrip                   | tab    | tabOptions      |
| Basic    | Text Area                  | txa    | txaDescription  |
| Basic    | Text box                   | txt    | txtLastName     |
| Complex  | Chevron                    | chv    | chvProtocol     |
| Complex  | Data grid                  | dgd    | dgdTitles       |
| Complex  | Data list                  | dbl    | dblPublisher    |
| Complex  | Directory list box         | dir    | dirSource       |
| Complex  | Drive list box             | drv    | drvTarget       |
| Complex  | File list box              | fil    | filSource       |
| Complex  | Panel/Fieldset             | pnl    | pnlGroup        |
| Complex  | ProgressBar                | prg    | prgLoadFile     |
| Complex  | Slider                     | sld    | sldScale        |
| Complex  | Spinner                    | spn    | spnPages        |
| Complex  | StatusBar                  | sta    | staDateTime     |
| Complex  | Timer                      | tmr    | tmrAlarm        |
| Complex  | Toolbar                    | tlb    | tlbActions      |
| Complex  | TreeView                   | tre    | treOrganization |
+----------+----------------------------+--------+-----------------+
Comment

PREVIOUS NEXT
Code Example
Java :: save file to disk java 
Java :: run java class file 
Java :: java code to get all leaf nodes of a xml 
Java :: labeled statement in java ex 
Java :: java textwatcher 
Java :: output of this 
Java :: why the fuck java suck 
Java :: move gif in wave motion java 
Java :: start hadoop and yarn with java 
Java :: intelij show method information 
Java :: and two editText fields in android studio 
Java :: android java close keyboard 
Java :: Java extends and implements clause 
Java :: REGEX ___ get length of array in java 
Java :: java namespaces 
Java :: sealed class java codegrepper 
Java :: android java convert boolean to string 
Java :: java GLIBC 2 34 missing 
Java :: sha1 
Java :: java equals on recursive apache commons 
Java :: java mongodb document get 
Java :: java loop array 
Java :: date.settime java 
Java :: editable java jcombobox 
Java :: Create four (4) Java classes named Color, Model, Car, and CarDemo. 
Java :: hwo to calculate cuberoot of numbers in java 
Java :: closable resources java 
Java :: how to add 0 in left padding using regular expression java 
Java :: Error: Unable to export or encrypt the private key java.lang.NullPointerException 
Java :: Original authors: Talmon Marco, Igor Magazinnik Programming languages: Java, C, Python, C , Qt, Objective-C 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =