13.[-] testcase property_test()
14. [ ] // test setting
15. [ ] Print(dd.iXPos)
16. [ ] Print(dd.iYPos)
17. [ ] // test member variable
18. [ ] Print(dd.iZ)
19. [ ] // test property
20. [ ] dd.iZPos = 50
21. [ ] Integer iTemp = dd.iZPos
22. [ ] Print(iTemp)
23. [ ] // test member variable for class
24. [ ] Print(DemoDialog().iZPos)
25. [ ] Print(DemoDialog().iZ)
26. [ ] // change setting is not allowed
27. [ ] // dd.iXPos = 90
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/