Micro Focus QTP (UFT) Forums
QTP not recognizing WBFULTRAGRID - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP not recognizing WBFULTRAGRID (/Thread-QTP-not-recognizing-WBFULTRAGRID)



QTP not recognizing WBFULTRAGRID - Raj20091 - 09-17-2009

I am testing a .Net application with a WBFULTRAGRID. QTP dose not recognize the grid. Simply ignores it. Any suggestions on how to enter data in the grid ?




Thanks,
Raj


RE: QTP not recognizing WBFULTRAGRID - basanth27 - 09-17-2009

What does it mean by it ignores ?
When you spy what type of the object does it identify as ?


RE: QTP not recognizing WBFULTRAGRID - Ankur - 09-17-2009

Adding to Basanth's post

It looks like, QTP is not "ignoring" but identifying something else and not the required element. Use

Code:
object.Highlight

to find out which grid is getting recognized

PS: .Highlight is an undocumented method in QTP


RE: QTP not recognizing WBFULTRAGRID - Raj20091 - 09-18-2009

Thanks for the response.

Basanth: Ignores meaning, QTP sees the object, but dose not do the intended action.

Ankur:
The object is identified as WBFULTRAGRID.

The grid has embedded edit boxes, drop-downs, check boxes…..
When playing back the script, QTP clicks on the edit box but dose not enter text. I tried using SetCellData.

Set for Edit boxes or Select for drop-downs do not work.

Our application uses .Net Web Forms.

Thanks,
Raj


RE: QTP not recognizing WBFULTRAGRID - basanth27 - 09-18-2009

Try the Type method to enter the text. Does that work ?


RE: QTP not recognizing WBFULTRAGRID - Raj20091 - 09-22-2009

Type is no use.
I have the DLL to that object, can I use it somehow?