QTP unable to Recongize the blank(Value) in SAP Combobox - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: QTP unable to Recongize the blank(Value) in SAP Combobox (/Thread-QTP-unable-to-Recongize-the-blank-Value-in-SAP-Combobox) |
QTP unable to Recongize the blank(Value) in SAP Combobox - tarakeshc - 07-07-2009 Hi, I am working on SAP Automation with QTP 9.2. while recording , QTP is unable to recongize the filed value (which is Blank ) in SAP Combobox. There are 32 items are there in the combobox,last value (32) is blank. if i record any other value(10 or 31) its recording,but i want to record the blank value ,Can you suggest me the logic? RE: QTP unable to Recongize the blank(Value) in SAP Combobox - sreekanth chilam - 07-07-2009 Hi, Are you sure that the last value is blank? Visually it might be a blank. Just try with below. retreive the total items count use a for loop & retreive all the values length using 'len' builtin function check the length of last value.(If it is equal to 0 , then its a blank) I hope last value length is not equal to 0 & thats why u might have been facing the issues. RE: QTP unable to Recongize the blank(Value) in SAP Combobox - tarakeshc - 07-08-2009 Hi, Thank you very much for your reponse,Its the 32 nd field in the combo box,its giving the total count as 32.U can find the details in the attachment |