@ttralor,
Consider a scenario where you are given 500 test cases. Now as per your approach, you will have 500 actions(one action/script) and 500 .qfl files(one .qfl file per script). This does not end here, it will grow as the nos of script grow. This approcah may end you up with a huge maintenance.
My suggestion would to keep only one function library which will have all the function. Keep all the common keywords in it. This file will be accessed be all scripts. Thus you will have only one file for n no. of scripts.
Also, When you say "KEYWORD", these refers to specific opertaion which are common in use like
SET, CLICK, Select, OPEN, CLOSE, EXIST
You shouold not be making silly operations such as entering username and password as keyword. This can be done using a common function.
Let me know if you need further help.
Regards,
Ankesh
Consider a scenario where you are given 500 test cases. Now as per your approach, you will have 500 actions(one action/script) and 500 .qfl files(one .qfl file per script). This does not end here, it will grow as the nos of script grow. This approcah may end you up with a huge maintenance.
My suggestion would to keep only one function library which will have all the function. Keep all the common keywords in it. This file will be accessed be all scripts. Thus you will have only one file for n no. of scripts.
Also, When you say "KEYWORD", these refers to specific opertaion which are common in use like
SET, CLICK, Select, OPEN, CLOSE, EXIST
You shouold not be making silly operations such as entering username and password as keyword. This can be done using a common function.
Let me know if you need further help.
Regards,
Ankesh