This topic is locked

contents of $page & $pageObject

12/2/2022 7:47:57 PM
PHPRunner General questions
B
Bill Walker authorDevClub member

Hello PHPR Experts, Newbie here,
I was wondering if there is a way to iterate through the $page array and the $pageObject? I would like to see what is available in each of them.
I could not find anything in the documentation.
Thanks,
Bill Walker

fhumanes 12/3/2022

Hello,

I explain how I do it and how, little by little, I learn how Phprunner builds applications.

I use Microsoft Visual Studio Code (which is free and is an excellent solution) and in addition to configuring it to work in PHP, it is configured to debug Xdebug code.

I can stop the execution of the code at any point and could observe all the variables, structures, etc., which are accessible at that point.

This method has a problem and that in the evolutions of PHPRUNNER versions they can (in fact it occurs, not frequently or generalized) to change the code structure and things that you could use in the next version does not work.

Cheers,
fernando