how to get information from getAttribute method in Openspan Robotic studio
how to get information from getAttribute method in Openspan Robotic studio e.g. text box appeared in the webpage. I want to access style attribute, which contains color , font etc and I am interested in getting color of font.
I am no HTML expert, but "Style" doesn't look like an attribute. It doesn't follow the pattern attribute=value. Perhaps that is the problem. If you just need the stuff after the word style, you might use a RegEx on the InnerHTML of the control.
I see ... This is the only content I got from the source code(in internet explorer), when I am trying to get name it is coming out very well. but style is coming as System._Com object. Is not there any way in openspan to read that.... I tried using outterhtml or inner html and everything... but not happening for me... Please confirm if there is any way to get output from system._com object.
After long time, I got chance to work on this story. I created it as script and try to run and observed that outerhtml is not giving style information when it is running in debug mode, always I have to deploy the build and run on runtime. Is there additional settings in Pega studio to work in debug mode.