Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. import multipleActionObject from page;
  2. it("should be able to do multiple operations", () => {
  3. multipleActionObject.chooseIndex(4).setValue(10);
  4. }
  5.  
  6. import multipleActionObject from page;
  7. it("should be able to do multiple operations", () => {
  8. multipleActionObject.chooseAndSetNumber(4,10);
  9. }
  10.  
  11. class multipleActionObject(){
  12.  
  13. public chooseAndSetNumber(index,value){
  14. this.index[index].setValue(value)
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement