Forum Discussion
Hi,
Check the class property for both radiobuttons. Are they members of one class?
Class property?
In TC i dont have that property (as u can see on screen)
Developer said that all properties are same for both fields (visible / invisible). Well i think in PowerBuilder they do not have class property too.
Yes i am able to do whatever i want with these fields manually in application.
If i put object spy coursor on object it dosent see it but i can see it in object browser - diffrence is visible property.
1. Yea but i need to click for example dropdown field to choose smth with key("down") and i cant do that atm.
2. I asked developer if its posibble he have that bug.
What developer told me before was that in these 20% types of "countries" he replace some fields on "open event" in powerbuilder but in logic way it shouldn't affect in this case - cause he replace a field that i dont want to click ( i skip that one anyway).
- escap898 years agoContributor
2. Dev answer:
"What Pb is doing is unfortunately not known to me.
We replace actual dataobject insinde Datawindow to another almost the same. We dont create publicly a new datawindow"
- Colin_McCrae8 years agoCommunity Hero
As I say, I've never tested a PowerBuilder application, so these were just suggestions.
But this:
"What Pb is doing is unfortunately not known to me. We replace actual dataobject insinde Datawindow to another almost the same. We dont create publicly a new datawindow"
... especially the part in bold/italic does sound suspiciously like they have created a second instance of something? It might explain your ControlIndex of 2. But then, a cluster of radio buttons could also report a control index this way. I don't know how PowerBuilder radio buttons are presented.
So I guess my suggestion is still a possibility. But it also sounds like your dev team don't really understand the controls they're working with. Which would concern me! ("What Pb is doing is unfortunately not known to me." !!!)
If they are creating duplicate instances, I would normally expect these to be visible to me in the object model. But as they also mentioned they don't create it publicly, so maybe not. Someone who knows PowerBuilder would know better than I do. Normally, I would expect that to be the dev team, but in this case, maybe not ....
- escap898 years agoContributor
You know, actually def care about bugs that can be simulated manually - thats the problem.
If I cant click a object with testcomplete but i can do it manually they don't care.
I have same feelings that "We replace actual dataobject insinde Datawindow to another almost the same" may be a second instance that is not properly recognized by testcomplete.
And about control index - looks like they are just sorted diffrent (shouldnt matter for TC if i click object by fullname):
In these 80% radiobuttion A - has index 1 and B has index 2.
In these 20% radiobutton A - has index 2 and B has index 1.
Question is: why just some fields are invisible for TestComplete if they replace a whole dataobject?
Problem is with radiobuttions/combobox, normal text fields are fine.
If noone here will have some knowledge about this case in PB and TC then ill ask dev to make a version just for me without that dataobject repleace.
- baxatob8 years agoCommunity Hero
Radiobutton #1 (which is visible) has Width property == 113
Radiobutton #2 (which is invisible) has Width property == 107
Why so?
- escap898 years agoContributor
I gave same question before to dev - "if u have that property diffrent please check if any other properties are diffrent"
He said that the only diffrence is:
a) width - dosent matter for TC for sure.
b) sorting objects - (prolly matter for control index in TC) - I think it dosent matter if i click objects in my tests by fullname not by index.
Related Content
- 12 months agosanket2799
Recent Discussions
- 4 hours agotramuntana
- 2 days agoSlickRick