Rajesh2
9 years agoContributor
How to perform action using Excel data in TestComplete with Python
Greetings,
As i am new to Python and Python with TestComplete. Can anyone please explain how to handle this?
Scenario:
I am storing "ControlID", "Type", "Action", "Data" in my excel sheet.
I need to find the ControlID from one python class and from the other class i need to perform actions based on controlID
ex:
class Common():
def FindCtrlID():
Find the controlID from Excel
class test():
def Navigate_Str():
Find the control ID from Common Class
if type==button & Action==Click
CtrlId.click()
elif type==textbox & Action==Sendkeys
CtrlID.Sendkeys(Data from Excel)
NOTE: Excel file is attached